#ifndef __STUDENT_H_
#define __STUDENT_H_
#include <string>

using ElementType = void *;

class Student
{
public:
    // Student();
    Student(int id, const std::string &name); // 构造
    // Student(const Student &s);          // 拷贝
    // Student &operator=(const Student &s);
    // ~Student();
    
    static void Free(void*p);     // 无需改动上面的接口，设置函数指针，把函数放进去
    static void print(void *p);
    static int compare(void *p1, void *p2);
    static bool AllCompare(void *p1, void *p2);
    static ElementType Copy(void *p);

private:
    int id;
    std::string name;
};


#endif
